//
//  HELStatisticCell.m
//  sanda
//
//  Created by 陈武琦 on 16/7/13.
//  Copyright © 2016年 陈武琦. All rights reserved.
//

#import "HELMeetingInfoCell.h"
#import "NSString+Utilities.h"
#import "Masonry.h"
@implementation HELMeetingInfoCell


- (void)setModel:(HELMeetingModel *)model {
    _model = model;
    self.title.text = model.title;
    self.dateTime.text = [NSString timeToString:[model.createTime longLongValue]];
    if ([model.readStatus integerValue] == 0) {
        self.flagView.hidden = NO;
    }else {
        self.flagView.hidden = YES;
    }
}


- (void)awakeFromNib {
    [super awakeFromNib];
    self.flagView.layer.cornerRadius = 5.0;
    // Initialization code
}

//-(void)updateConstraints {
//    
//
//    //change Height Constrains to be 0
//    [self.dateTime mas_updateConstraints:^(MASConstraintMaker *make) {
//        make.height.equalTo(@15);
//    }];
//    [super updateConstraints];
//}
@end
